package com.edu.hre.struts.form.admin;

import java.io.Serializable;
import java.util.Date;

import org.apache.struts.action.ActionForm;

public class ConfigurationForm extends ActionForm implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5986385170486711364L;


	private Integer id;
	private String key;
	private String value;
	private String comment;
	private Date dateCreated;
    private Date dateModified;
	
	private boolean isSelected = false;
	private String message = "";
	private boolean isAddNew = true;

	public ConfigurationForm() {
	}

	public ConfigurationForm(Integer id, String key, String value, String comment) {
		this.id = id;
		this.key = key;
		this.value = value;
		this.comment = comment;
	}

	public String getKey() {
		return this.key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public boolean isSelected() {
		return isSelected;
	}

	public void setSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}
	
	public boolean getIsSelected() {
		return isSelected;
	}

	public void setIsSelected(boolean isSelected) {
		this.isSelected = isSelected;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public Date getDateModified() {
		return dateModified;
	}

	public void setDateModified(Date dateModified) {
		this.dateModified = dateModified;
	}


}
